<wicket:extend>
	<div class="card">
		<div class="card-body">
			<div class="alert alert-light alert-notice mb-5">
				<wicket:svg href="bulb" class="icon mr-2"></wicket:svg>
				<wicket:t>When login via OneDev's built-in form, submitted user credentials can be checked against 
					authenticator defined here, besides the internal database
				</wicket:t>
			</div>
			<form wicket:id="authenticator" class="authenticator leave-confirm">
				<div wicket:id="editor" class="mb-5"></div>
				<button wicket:id="save" class="btn btn-primary dirty-aware mr-3"><wicket:t>Save Settings</wicket:t></button>
				<input wicket:id="test" type="submit" class="btn btn-light-primary" t:value="Test Settings">
			</form>
		</div>
	</div>
	<wicket:fragment wicket:id="testFrag">
		<form wicket:id="form" class="authenticator-test">
			<div class="modal-header">
				<h5 id="modal-title" class="modal-title"><wicket:t>Authentication Test</wicket:t></h5>
				<button wicket:id="close" type="button" class="close"><wicket:svg href="times" class="icon"/></button>
			</div>
			<div class="modal-body">
				<div wicket:id="editor"></div>
			</div>
			<div class="modal-footer">
				<button wicket:id="ok" class="btn btn-primary"><wicket:t>Ok</wicket:t></button>
				<button wicket:id="cancel" class="btn btn-secondary"><wicket:t>Cancel</wicket:t></button>
			</div>
		</form>
	</wicket:fragment>
</wicket:extend>
